package com.bankscene.screenfit.vus;

import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.design.widget.TextInputEditText;
import android.view.LayoutInflater;
import android.view.ViewGroup;

import com.bankscene.screenfit.R;

import org.greenrobot.eventbus.EventBus;

import butterknife.BindView;
import butterknife.ButterKnife;

/**
 * Created by wsy on 2016/6/15.
 */
public class Secret2EncryptVu extends BaseVu implements Vu {

    @BindView(R.id.encryptTxt)
    TextInputEditText encryptTxt;

    @Override
    public void init(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable EventBus bus) {
        this.bus = bus;
        rootView = inflater.inflate(R.layout.secret2encrypt_fragment, container, false);
        unbinder = ButterKnife.bind(this, rootView);
    }

    public void setEncryptTxt(@NonNull String encryptStr) {
        encryptTxt.setText(encryptStr);
    }
}

